projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f4af113
)
Set IC preedit area on ConfigureNotify
author
Po Lu
<luangruo@yahoo.com>
Mon, 24 Jan 2022 00:46:39 +0000
(08:46 +0800)
committer
Po Lu
<luangruo@yahoo.com>
Mon, 24 Jan 2022 00:46:39 +0000
(08:46 +0800)
* src/xterm.c (handle_one_xevent): Set the preedit spot when a
ConfigureNotify event is received.
src/xterm.c
patch
|
blob
|
history
diff --git
a/src/xterm.c
b/src/xterm.c
index 2a4ea883bc1bc20c379dac72e75e357e4fcafca7..bf606b1aa42d7c958eea32400e0059c3d25e0f03 100644
(file)
--- a/
src/xterm.c
+++ b/
src/xterm.c
@@
-9964,6
+9964,12
@@
handle_one_xevent (struct x_display_info *dpyinfo,
#ifdef HAVE_X_I18N
if (FRAME_XIC (f) && (FRAME_XIC_STYLE (f) & XIMStatusArea))
xic_set_statusarea (f);
+
+ if (f)
+ {
+ struct window *w = XWINDOW (f->selected_window);
+ xic_set_preeditarea (w, w->cursor.x, w->cursor.y);
+ }
#endif
}